load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "websocket",
    srcs = [
        "client.go",
        "client_clone.go",
        "client_clone_legacy.go",
        "compression.go",
        "conn.go",
        "conn_write.go",
        "conn_write_legacy.go",
        "doc.go",
        "json.go",
        "mask.go",
        "prepared.go",
        "proxy.go",
        "server.go",
        "trace.go",
        "trace_17.go",
        "util.go",
        "x_net_proxy.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/gorilla/websocket",
    importpath = "github.com/gorilla/websocket",
    visibility = ["//visibility:public"],
)
